package impl_and_extends;

public class VideoShop extends Shop implements IQueue {

	@Override
	public void enQueue(String video) {
		store.addElement(video);
		System.out.println(video + " 반납");
	}

	@Override
	public String deQueue() {
		String video = store.remove(0);
		System.out.println(video + " 대여");
		return video;
	}

}
